Switch to using atk_component_get_extents instead.
https://bugzilla.gnome.org/show_bug.cgi?id=727313
if (button_image != NULL)
{
obj = gtk_widget_get_accessible (button_image);
- atk_component_get_position (ATK_COMPONENT (obj), x, y, coord_type);
+ atk_component_get_extents (ATK_COMPONENT (obj), x, y, NULL, NULL,
+ coord_type);
}
else
{
GtkWidget *widget;
*x = G_MININT;
- atk_component_get_position (ATK_COMPONENT (icon->entry), x, y, coord_type);
+ atk_component_get_extents (ATK_COMPONENT (icon->entry), x, y, NULL, NULL,
+ coord_type);
if (*x == G_MININT)
return;
if (atk_state_set_contains_state (item->state_set, ATK_STATE_DEFUNCT))
return;
- atk_component_get_position (ATK_COMPONENT (image), x, y, coord_type);
+ atk_component_get_extents (ATK_COMPONENT (image), x, y, NULL, NULL,
+ coord_type);
if (get_pixbuf_box (GTK_ICON_VIEW (item->widget), item->item, &box))
{
if (gtk_icon_view_item_accessible_is_showing (item))
{
parent_obj = gtk_widget_get_accessible (item->widget);
- atk_component_get_position (ATK_COMPONENT (parent_obj), &l_x, &l_y, coord_type);
+ atk_component_get_extents (ATK_COMPONENT (parent_obj), &l_x, &l_y,
+ NULL, NULL, coord_type);
*x = l_x + item->item->cell_area.x;
*y = l_y + item->item->cell_area.y;
}
gint *y,
AtkCoordType coord_type)
{
- atk_component_get_position (ATK_COMPONENT (image), x, y, coord_type);
+ atk_component_get_extents (ATK_COMPONENT (image), x, y, NULL, NULL,
+ coord_type);
}
static void
gint *y,
AtkCoordType coord_type)
{
- atk_component_get_position (ATK_COMPONENT (image), x, y, coord_type);
+ atk_component_get_extents (ATK_COMPONENT (image), x, y, NULL, NULL,
+ coord_type);
}
static void
if (!child)
return;
- atk_component_get_position (ATK_COMPONENT (child), x, y, coord_type);
+ atk_component_get_extents (ATK_COMPONENT (child), x, y, NULL, NULL,
+ coord_type);
g_object_unref (child);
}
else